package com.zf.zfed.audit.data


data class SignalType(
    val id: Int,
    val name: String,//    val iconResId: Int
) {
    companion object {
        fun getAllTypes(): List<SignalType> {
            return listOf(
                SignalType(1, "信号"),
                SignalType(2, "WiFi"),
                SignalType(3, "蓝牙"),
                SignalType(4, "移动通信"),
                SignalType(5, "音视频")
            )
        }
        
        fun getTypeById(id: Int): SignalType? {
            return getAllTypes().find { it.id == id }
        }
    }
}
